export const defaultConfig = {
  width: '100%',
  height: 640,
  path: '/static/lib/editor.md-master/lib/',
  theme: 'default',
  previewTheme: 'default',
  editorTheme: 'default',
  toolbarIcons: [
    'undo', 'redo', '|',
    'bold', 'italic', 'quote', 'uppercase', 'lowercase', '|',
    'h1', 'h2', 'h3', 'h4', 'h5', 'h6', '|',
    'list-ul', 'list-ol', 'hr', '|',
    'link', 'image', 'code', 'preformatted-text', 'code-block', 'table', '|',
    'watch', 'preview', 'fullscreen', '|',
    'help'
  ],
  codeFold: true,
  saveHTMLToTextarea: true,
  searchReplace: true,
  watch: true,
  htmlDecode: 'style,script,iframe|on*',
  emoji: true,
  taskList: true,
  tocm: true,
  tex: true,
  flowChart: true,
  sequenceDiagram: true,
  imageUpload: true,
  imageFormats: ['jpg', 'jpeg', 'gif', 'png', 'bmp', 'webp'],
  imageUploadURL: '/upload/image',
  placeholder: '请输入内容...'
}
